package com.itxuchao.demo1;

import com.sun.org.apache.bcel.internal.generic.NEW;

import java.util.Scanner;

public class Demo3 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入开始数:");
        int num=sc.nextInt();
        for (int i = num; i <=100; i++) {
            if (i/10==7 ||i%10==7 ||i%7==0){
                System.out.print("过 ");
            }else{
                System.out.print(i+" ");
            }
        }
    }
}
